<template>
  <div>
    <el-container style="border: 1px solid #eee">
      <el-menu
        router
        default-active="2"
        class="el-menu-vertical-demo"
        background-color="#545c64"
        text-color="#fff"
        active-text-color="#ffd04b"
      >
        <el-submenu index="1">
          <template slot="title"></template>
          <el-menu-item-group>
            <el-menu-item index="/changepassword">修改密码</el-menu-item>
          </el-menu-item-group>
        </el-submenu>
      </el-menu>

      <el-container>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
export default {
  name: "personalcenter",
};
</script>

<style>
</style>